//
//  DcBaceModel.m
//  艾薇贝儿
//
//  Created by dllo on 15/9/1.
//  Copyright (c) 2015年 dllo－－邴鹏超. All rights reserved.
//

#import "DcBaceModel.h"

@implementation DcBaceModel
-(instancetype)initwithDic:(NSDictionary *)dic{
    
    self=[super init];
    if (self) {
        
        [self setValuesForKeysWithDictionary:dic];
    }
    return self;
}
/**
 *  KVC的纠错方法
 *
 *  @param value  未找到key对应的的值
 *  @param key   字典中未找到的Key
 */
-(void)setValue:(id)value forUndefinedKey:(NSString *)key{
    if ([key isEqualToString:@"id"]) {
        self.uid =value;
    }
}
@end
